import React from 'react';
import {NavLink  } from 'react-router-dom';

const NavMenus=()=>(
    <ul className="nav">
        <li><NavLink exact to="/" activeClassName="active">首页</NavLink></li>
        <li><NavLink to="/about" activeClassName="active">关于</NavLink></li>
        <li><NavLink to="/topics" activeClassName="active">主题列表</NavLink></li>
        <li><NavLink to="/game" activeClassName="active">趣味游戏</NavLink></li>
  </ul>
);
export default NavMenus